package com.im.netty.handler;

import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelInboundHandlerAdapter;

/**
 * 
 * @author yutao
 */
public class InBoundHandlerC extends ChannelInboundHandlerAdapter{

	@Override
	public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception {
		
		System.out.println("InBoundHandlerC: " + msg);
//		super.channelRead(ctx, msg);
		ctx.channel().writeAndFlush(msg);
	}

	
}
